package com.zlzxm.shoesmarket.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.zlzxm.shoesmarket.R;
import com.zlzxm.shoesmarket.view.adapter.entity.EntityCalculatePay;

import org.jetbrains.annotations.NotNull;

/**
 * CREATE BY zlzxm ON 4/26/21
 */
public class ADCalculatePay extends BaseQuickAdapter<EntityCalculatePay, BaseViewHolder> {

    public ADCalculatePay() {
        super(R.layout.item_own_calculate_pay );
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, EntityCalculatePay entity) {

        holder.setText(R.id.tvTitle,entity.getTitle());
        holder.setText(R.id.tvPay,entity.getPay());
    }
}
